<?php
  // vector : array()
  // vector[$i] = $j :: the ith dimension get the value $j

  class Tool_maths{
    public static function get_average($_array){
      return array_sum($_array) / count($_array);
    }

  }


?>



